package cn.zhejianglao.shirotemplate.service.user.model;

import lombok.Data;
import net.sf.oval.constraint.NotNull;

/**
 * login request containing email address and password
 */

@Data
public class LoginRequest {
    @NotNull
    private String username;

    @NotNull
    private String password;

    private Long roleId;
}
